package cn.chinaunicom.sdsi.frm.workflow.bean;

/**
 * 仅包含基本定义的任务信息实体
 * 
 * @author liyh
 *
 */
public class BaseTaskVO {

	/**
	 * 任务id
	 */
	private String taskId;
	/**
	 * 任务名称-环节名称
	 */
	private String name;
	/**
	 * 环节ID XML文件中环节ID
	 */
	private String taskDefinitionKey;
	/**
	 * 流程实例ID
	 */
	private String processInstanceId;
	/**
	 * 流程定义ID及流程定义Key
	 */
	private String processDefinitionId;
	private String processDefinitionKey;
	/**
	 * 执行流ID
	 */
	private String executionId;

	protected BaseTaskVO() {

	}

	public BaseTaskVO(String taskId, String name, String taskDefinitionKey, String processInstanceId,
			String processDefinitionId, String processDefinitionKey, String executionId) {

		this.taskId = taskId;
		this.name = name;
		this.taskDefinitionKey = taskDefinitionKey;
		this.processInstanceId = processInstanceId;
		this.processDefinitionId = processDefinitionId;
		this.processDefinitionKey = processDefinitionKey;
		this.executionId = executionId;
	}

	public String getTaskId() {
		return taskId;
	}

	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTaskDefinitionKey() {
		return taskDefinitionKey;
	}

	public void setTaskDefinitionKey(String taskDefinitionKey) {
		this.taskDefinitionKey = taskDefinitionKey;
	}

	public String getProcessInstanceId() {
		return processInstanceId;
	}

	public void setProcessInstanceId(String processInstanceId) {
		this.processInstanceId = processInstanceId;
	}

	public String getProcessDefinitionId() {
		return processDefinitionId;
	}

	public void setProcessDefinitionId(String processDefinitionId) {
		this.processDefinitionId = processDefinitionId;
	}

	public String getProcessDefinitionKey() {
		return processDefinitionKey;
	}

	public void setProcessDefinitionKey(String processDefinitionKey) {
		this.processDefinitionKey = processDefinitionKey;
	}

	public String getExecutionId() {
		return executionId;
	}

	public void setExecutionId(String executionId) {
		this.executionId = executionId;
	}

}
